import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import axios from "axios";
import "./request/http.js";
import store from "./store";
import vueAxios from "vue-axios";
// 引入地图
import BaiduMap from "vue-baidu-map";

// 引入element
import "../public/theme/index.css";
import ElementUI from "element-ui";
// import "element-ui/lib/theme-chalk/index.css";
// 公共样式
import "./assets/css/index.css";
import "./assets/css/normalize.css";
import "../public/icon/home/iconfont.css";
import "../public/icon/all/iconfont.css";

Vue.use(ElementUI);
Vue.use(vueAxios, axios);
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: "Fz45WNg0Pr1f8rq5LX3Uu4zv0zbZBgbx",
});

Vue.config.productionTip = false;

new Vue({
  el: "#app",
  router,
  store,
  components: {
    App,
  },
  render: (h) => h(App),
}).$mount("#app");
